using OpenTK.Graphics.OpenGL;

namespace ColladaDotNet.OpenTKMapping
{
	public class Lines : MeshItem
	{
		public void Render()
		{
			throw new System.NotImplementedException();
		}
	}
	public class Linestrips : MeshItem
	{
		public void Render()
		{
			throw new System.NotImplementedException();
		}
	}
	public class Polygons : MeshItem
	{
		public void Render()
		{
			throw new System.NotImplementedException();
		}
	}
	public class Polylist : MeshItem
	{
		public void Render()
		{
			throw new System.NotImplementedException();
		}
	}

	public class Triangles : MeshItem
	{
		public override void Load(ColladaXmlNode colladaData)
		{
			base.Load(colladaData);

			var c = (triangles)colladaData;

			count = c.count;

			indices = IntArrayConverter.ToArray(c.p);
			stride = 0;

			BindInputs(c.input);
		}

		

		public override string Material
		{
			get
			{
				return ((triangles)rawNode).material;
			}
		}
	}
	public class Trifans : MeshItem
	{
		public void Render()
		{
			throw new System.NotImplementedException();
		}
	}
	public class Tristrips : MeshItem
	{
		public void Render()
		{
			throw new System.NotImplementedException();
		}
	}
}